.class Lcom/waiqin365/lightapp/im/activity/aq;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/im/activity/aq;->a:Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    const/16 v2, 0x8

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/aq;->a:Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;->l(Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/aq;->a:Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;->m(Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;)Landroid/widget/ImageView;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/aq;->a:Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;->n(Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;)Landroid/widget/ImageView;

    move-result-object v0

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/aq;->a:Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;->o(Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/aq;->a:Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;->p(Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/aq;->a:Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;->a:Landroid/widget/ListView;

    invoke-virtual {v0}, Landroid/widget/ListView;->getCount()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/aq;->a:Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;->a:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/aq;->a:Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;

    iget-object v1, v1, Lcom/waiqin365/lightapp/im/activity/CustomServiceChatActivity;->a:Landroid/widget/ListView;

    invoke-virtual {v1}, Landroid/widget/ListView;->getCount()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->smoothScrollToPosition(I)V

    :cond_0
    return-void
.end method
